package com.zmn.oms.zmn.business.interfaces.log;

import com.zmn.oms.model.entity.log.OrderChannelDockingLog;

import java.util.List;

/**
 * 类描述：渠道订单对接同步日志BService
 *
 * @author lhl
 * @date 2020/07/07 11:30
 */
public interface OrderChannelDockingLogBService {

    /**
     * 保存
     * @param orderChannelDockingLog
     */
    void save(OrderChannelDockingLog orderChannelDockingLog);

    /**
     * 查询订单的所有同步日志
     * @param orderId
     * @return
     */
    List<OrderChannelDockingLog> listByOrderId(Long orderId);

    /**
     * 查询订单的所有同步日志
     * @param orderId
     * @param channelId
     * @return
     */
    List<OrderChannelDockingLog> listByOrderIdAndChannelId(Long orderId, Integer channelId);

}
